﻿using Prism.Ioc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZDevice.Event;
using ZZMES.Data;
using ZZMES.TCP;

namespace ZZMES.Process
{
     /// <summary>
     /// 激光打标
     /// </summary>
    public class ProcessLaserMarking : ProcessBase
    {
        public ProcessLaserMarking(IEventAggregator eventAggregator, IContainerProvider containerProvider, TCPHostService tcpHostService,DataProviderService dataProviderService) 
            : base(eventAggregator, containerProvider, tcpHostService, dataProviderService)
        {
            eventAggregator.GetEvent<TcpEvent>().Subscribe(OnStateChanged);
        }

        private void OnStateChanged(TcpEventArgs args)
        {
            args.client = "";
        }
    }
}
